JavaScript

A5.chart.datamap Method

Syntax

A5.chart.data.map(map[,temp])

A5.chart.data.map(data,map[,temp])

Arguments

dataarray

The raw data from which the chart will be created. If no data is passed in then the map must have the "data" property defined in it.

mapobject

The definition to map the raw data into a format used by the charting logic. See A5.chart Definition Map Object.

tempobject

The "temporary" object that is passed to all functions and template expands. The can be used to pass in external data and settings as well as pass information between calls.

Returns

mapobject

The mapped data. See A5.chart Mapped Data Object

Description

Create a mapping of raw data into a format usable by the charting logic.